package com.icongyou.enterprise.talent_profile.service;

import com.icongyou.enterprise.common.result.PageResult;
import com.icongyou.enterprise.data_aggregation.entity.vo.StudentTopSubmissionDetailVO;
import com.icongyou.enterprise.data_aggregation.entity.vo.StudentTopSubmissionSimpleVO;
import com.icongyou.enterprise.talent_profile.entity.vo.*;

import java.util.List;

public interface ProfileService {

    StudentBasicVO getStudentBasicInfo(String studentId);

    LearningOverviewRespVO getLearningOverview(String studentId, Integer page, Integer size);

    List<StudentCourseVO> getStudentCourses(String studentId);

    /**
     * 获取学生核心成果简版列表（首页展示）
     * @param studentId 学生ID
     * @return 核心成果简版列表
     */
    List<StudentTopSubmissionSimpleVO> getStudentTopSubmissionsSimple(String studentId);

    /**
     * 获取学生核心成果详情列表（详情页展示）
     * @param studentId 学生ID
     * @return 核心成果详情列表
     */
    List<StudentTopSubmissionDetailVO> getStudentTopSubmissionsDetail(String studentId);

    /**
     * 根据提交ID获取单个提交的详细内容
     * @param submissionId 提交ID
     * @return 提交详情
     */
    SubmissionDetailVO getSubmissionDetailById(String submissionId);

    /**
     * 获取学生在指定课程中得分最高的提交
     * @param studentId 学生ID
     * @param courseId 课程ID
     * @return 最高得分提交信息
     */
    CourseTopSubmissionVO getTopSubmissionByStudentAndCourse(String studentId, String courseId);
}